<?php

namespace App;

//use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;

class Admin extends Authenticatable
{
    protected  $guarded=["id"];
    protected $hidden = ['password'];
    public $timestamps= false;

    // 关注房源
    public function my_likes()
    {
        return $this->belongsToMany('App\House',"house_user","user_id","house_id");
    }


}

